<!--
- @founder   IT柏拉图, https: //weibo.com/itprato
- @author    DedeCMS团队
- @copyright Copyright (c) 2007 - 2021, 上海卓卓网络科技有限公司 (DesDev, Inc.)
--->

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={dede:global.cfg_soft_lang/}">
<title>{dede:global.cfg_webname/} - {dede:global.cfg_softname/} {dede:global.cfg_version/}</title>
<meta name="copyright" content="2007-2021 DedeCMS, 上海卓卓网络科技有限公司 (DesDev, Inc.)" />
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/pkg/uikit/css/uikit.min.css" />
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/css/dashboard.css">
</head>
<body>
<!--HEADER-->
<header id="dede-manage-top">
<nav class="uk-navbar-transparent uk-light" data-uk-navbar>
<div class="uk-navbar-left">
<span class="uk-navbar-item uk-logo">
<img src="{dede:global.cfg_assets_dir/}/img/dedecms.png" onclick="JumpFrame('./index_menu.php','./index_body.php');"/> &nbsp;<?=$cfg_version;?>
</span>
</div>
<div class="uk-navbar-right">
<ul class="uk-navbar-nav">
<li>
<form action="action_search.php" target="main" class="uk-search uk-search-default" style="width: 280px;margin-top: 26px;margin-right: 18px;">
<span data-uk-icon="icon: search" class="uk-icon uk-search-icon"></span>
<input class="uk-search-input uk-form-width-medium uk-form-small" type="search" name="keyword" placeholder="功能搜索...">
</form>
</li>
<li><a href="#"><span data-uk-icon="icon: lightning" class="uk-margin-small-right uk-icon"></span> 快捷操作 <span data-uk-icon="icon: triangle-down"></span></a>
<div id="fastmenu" style="margin-top: 0;" class="uk-navbar-dropdown uk-light " uk-dropdown="mode: click">
<ul class="uk-nav uk-navbar-dropdown-nav uk-light uk-nav-sub">
<?php $dtp = new DedeTagparse();
$dtp->SetNameSpace('menu','<','>');
$dtp->LoadTemplet($myIcoFile);
if(is_array($dtp->CTags)) {
foreach($dtp->CTags as $ctag) {
$title = $ctag->GetAtt('title');
$ico = $ctag->GetAtt('ico');
$link = $ctag->GetAtt('link');
echo "<li><a href='{$link}' target='main'>{$title}</a></li>\r\n";
}} ?>
</ul>
</div>
</li>
<?php if($cuserLogin->getUserType() >= 10) { ?>
<li>
<a href="#"><span data-uk-icon="icon: menu-down" class="uk-margin-small-right uk-icon"></span> 功能地图 <span data-uk-icon="icon: triangle-down"></span></a>
<div id="allmenu" class="uk-navbar-dropdown uk-navbar-dropdown-width-6" style="margin-top: 0;" uk-dropdown="mode: click">
<div class="uk-navbar-dropdown-grid uk-child-width-1-6 uk-light" uk-grid>
{dede:global.mapstring/}
</div>
</div>
</li>
<?php } ?>
<li><a href="./exit.php" target="_top"><span data-uk-icon="icon: power" class="uk-margin-small-right uk-icon"></span> 注销 (<?php echo $cuserLogin->getUserName(); ?>)</a></li>
</ul>
</div>
</nav>
</header>
<!--/HEADER-->
<div class="left">
<div class="menu" id="menu">
<iframe src="./index_menu.php" id="menufra" name="menu" frameborder="0"></iframe>
</div>
</div>
<div class="right">
<div class="main">
<iframe id="main" name="main" frameborder="0" src="./index_body.php"></iframe>
</div>
</div>
<!-- JS FILES -->
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit-icons.min.js"></script>
<script language="javascript">
function JumpFrame(url1, url2) {
window.open(url1, "menu");
window.open(url2, "main");
}
</script>
</body>
</html>
